package cn.dgut.training.dto.transaction;

import cn.dgut.training.dto.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class OrdersSubDTO extends BaseDTO {

    @ApiModelProperty(value = "用户表的ID")
    private Long userId;

    @ApiModelProperty(value = "购物车表的ID")
    private Long cartId;

    @ApiModelProperty(value = "地址表的ID")
    private Long addressId;

    private Long userCouponId;

    @ApiModelProperty(value = "优惠券表的ID")
    private Long couponId;

    @ApiModelProperty(value = "买家的留言")
    private String message;

    @ApiModelProperty(value = "团购规则表的ID")
    private Long grouponRulesId;

    @ApiModelProperty(value = "团购活动表的ID")
    private Long grouponLinkId;
}
